import requests

import config


def settlement_goods(token):
    settlement_goods_url = f'{config.URL}/wx/cart/checkout?cartId=0&addressId=0&couponId=0&userCouponId=0&grouponRulesId=0'
    headers_data = {
        'X-Litemall-Token': token
    }
    return requests.get(url=settlement_goods_url, headers=headers_data)
